package cn.wgx.common.entity.mind;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@TableName("mind_link")
public class MindLink extends MindBaseEntity implements Serializable {


    /**
     * 项目ID
     */
    @TableId(type = IdType.AUTO)
    private Integer link_id;

    /**
     * 起始id
     */
    @NotNull
    private Integer start_id;

    /**
     * 终点id
     */
    @NotNull
    private Integer end_id;


}
